package cn.yl.course.server.entity.dto;

import cn.yl.course.server.entity.CourseLesson;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;

@Data
@Accessors(chain = true)
public class CourseSectionDto {
    private Integer id;


    @ApiModelProperty("章节名")
    @TableField("section_name")
    private String sectionName;

    @ApiModelProperty("章节描述")
    @TableField("description")
    private String description;

    private ArrayList<CourseLessonDto> courseLessons = new ArrayList<CourseLessonDto>();
}
